<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>airline-res: AirlineRes::FlightRecord Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">airline-res
   
   </div>
   <div id="projectbrief">A prototype airline flight booking system</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>AirlineRes</b>      </li>
      <li class="navelem"><a class="el" href="class_airline_res_1_1_flight_record.html">FlightRecord</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">AirlineRes::FlightRecord Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="AirlineRes::FlightRecord" --><!-- doxytag: inherits="AirlineRes::Record" -->
<p>Class to store and operate upon the data that comprises a flight.  
 <a href="class_airline_res_1_1_flight_record.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_flight_record_8h_source.html">FlightRecord.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for AirlineRes::FlightRecord:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_flight_record__inherit__graph.png" border="0" usemap="#_airline_res_1_1_flight_record_inherit__map" alt="Inheritance graph"/></div>
<map name="_airline_res_1_1_flight_record_inherit__map" id="_airline_res_1_1_flight_record_inherit__map">
<area shape="rect" id="node2" href="class_airline_res_1_1_record.html" title="{AirlineRes::Record\n|# m_id\l|+ Record()\l+ ~Record()\l+ LoadRecord()\l+ WriteRecord()\l+ GetID()\l}" alt="" coords="21,5,152,141"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for AirlineRes::FlightRecord:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_flight_record__coll__graph.png" border="0" usemap="#_airline_res_1_1_flight_record_coll__map" alt="Collaboration graph"/></div>
<map name="_airline_res_1_1_flight_record_coll__map" id="_airline_res_1_1_flight_record_coll__map">
<area shape="rect" id="node2" href="class_airline_res_1_1_record.html" title="{AirlineRes::Record\n|# m_id\l|+ Record()\l+ ~Record()\l+ LoadRecord()\l+ WriteRecord()\l+ GetID()\l}" alt="" coords="5,101,136,237"/><area shape="rect" id="node4" href="class_airline_res_1_1_time_date.html" title="{AirlineRes::TimeDate\n|&#45; m_time\l|+ TimeDate()\l+ ~TimeDate()\l+ TimeDate()\l+ TimeDate()\l+ TimeDate()\l+ SetTime()\l+ TimeDate::SetTime()\l+ TimeDate::SetTime()\l+ TimeDate::SetToCurrentTime()\l+ GetTm()\l+ GetMinute()\l+ GetHour()\l+ GetDay()\l+ GetMonth()\l+ GetYear()\l+ GetISODate()\l+ GetDDMMYYYY()\l+ GetHHMM()\l}" alt="" coords="161,6,369,333"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_airline_res_1_1_flight_record-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0f1974239b068ca6958f3463a8e1ac6"></a><!-- doxytag: member="AirlineRes::FlightRecord::FlightRecord" ref="ab0f1974239b068ca6958f3463a8e1ac6" args="(std::string const &amp;_flightCode, int const &amp;_numSeats, TimeDate const &amp;_time, std::string const &amp;_destination)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#ab0f1974239b068ca6958f3463a8e1ac6">FlightRecord</a> (std::string const &amp;_flightCode, int const &amp;_numSeats, <a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a> const &amp;_time, std::string const &amp;_destination)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct record initialised with field values. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">RecordIOResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#a65e1754304ae52cd703602d4ece43417">LoadRecord</a> (std::istream &amp;_stream)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">RecordIOResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#aefd9b7e1a81880b6285eb55fd913d70f">WriteRecord</a> (std::ostream &amp;_stream) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">RecordIOResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#a2f55fe325229b80e2d9112764bc10030">LoadRecordData</a> (std::string const &amp;_flightCode, int const _numSeats, std::string const &amp;_timeOfDay, std::string const &amp;_date, std::string const &amp;_destination)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">RecordIOResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#a89c5b99aec8b846b77fbb0afd80b5fb3">PrintRecordData</a> (std::ostream &amp;_stream) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#af8cd5c1a2cf3c43219b3a3edb17cafc2">GetNumSeats</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#ac39c66ec7dcf4e04e06ad9a455bbd663">GetFlightCode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#adfc381f6509b0f1b18f4f8c451086ee2">GetFlightTimeDate</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_flight_record.html#a3fd891730468d632c52de92c1e3af3de">GetDestination</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80c3407108e42318f9033bddd1babb82"></a><!-- doxytag: member="AirlineRes::FlightRecord::m_flightCode" ref="a80c3407108e42318f9033bddd1babb82" args="[6]" -->
char&#160;</td><td class="memItemRight" valign="bottom"><b>m_flightCode</b> [6]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afeb51bb90ff6ac6d89a9a66e63e63ecb"></a><!-- doxytag: member="AirlineRes::FlightRecord::m_numSeats" ref="afeb51bb90ff6ac6d89a9a66e63e63ecb" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>m_numSeats</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e9ff4feacb28bc13ff300e10108a8a0"></a><!-- doxytag: member="AirlineRes::FlightRecord::m_time" ref="a4e9ff4feacb28bc13ff300e10108a8a0" args="" -->
<a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_time</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a250f3df56d78a8a4806632ca1b855896"></a><!-- doxytag: member="AirlineRes::FlightRecord::m_destination" ref="a250f3df56d78a8a4806632ca1b855896" args="" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_destination</b></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aafdaa4fac247dff267b062bdc57091f4"></a><!-- doxytag: member="AirlineRes::FlightRecord::sc_numSeatsMax" ref="aafdaa4fac247dff267b062bdc57091f4" args="" -->
static int const&#160;</td><td class="memItemRight" valign="bottom"><b>sc_numSeatsMax</b> = 1000</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18906fa74e2989d3e2a685db474eb0e0"></a><!-- doxytag: member="AirlineRes::FlightRecord::sc_dateYearMin" ref="a18906fa74e2989d3e2a685db474eb0e0" args="" -->
static int const&#160;</td><td class="memItemRight" valign="bottom"><b>sc_dateYearMin</b> = 1900</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7e403feffa6d6fdff53e3851102aea5"></a><!-- doxytag: member="AirlineRes::FlightRecord::sc_dateYearMax" ref="ad7e403feffa6d6fdff53e3851102aea5" args="" -->
static int const&#160;</td><td class="memItemRight" valign="bottom"><b>sc_dateYearMax</b> = 3000</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class to store and operate upon the data that comprises a flight. </p>

<p>Definition at line <a class="el" href="_flight_record_8h_source.html#l00013">13</a> of file <a class="el" href="_flight_record_8h_source.html">FlightRecord.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3fd891730468d632c52de92c1e3af3de"></a><!-- doxytag: member="AirlineRes::FlightRecord::GetDestination" ref="a3fd891730468d632c52de92c1e3af3de" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::FlightRecord::GetDestination </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The destination </dd></dl>

<p>Definition at line <a class="el" href="_flight_record_8h_source.html#l00059">59</a> of file <a class="el" href="_flight_record_8h_source.html">FlightRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac39c66ec7dcf4e04e06ad9a455bbd663"></a><!-- doxytag: member="AirlineRes::FlightRecord::GetFlightCode" ref="ac39c66ec7dcf4e04e06ad9a455bbd663" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::FlightRecord::GetFlightCode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The flight code. </dd></dl>

<p>Definition at line <a class="el" href="_flight_record_8h_source.html#l00056">56</a> of file <a class="el" href="_flight_record_8h_source.html">FlightRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="adfc381f6509b0f1b18f4f8c451086ee2"></a><!-- doxytag: member="AirlineRes::FlightRecord::GetFlightTimeDate" ref="adfc381f6509b0f1b18f4f8c451086ee2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a> AirlineRes::FlightRecord::GetFlightTimeDate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>time and date of the flight. </dd></dl>

<p>Definition at line <a class="el" href="_flight_record_8h_source.html#l00058">58</a> of file <a class="el" href="_flight_record_8h_source.html">FlightRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="af8cd5c1a2cf3c43219b3a3edb17cafc2"></a><!-- doxytag: member="AirlineRes::FlightRecord::GetNumSeats" ref="af8cd5c1a2cf3c43219b3a3edb17cafc2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AirlineRes::FlightRecord::GetNumSeats </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of seats on the flight. </dd></dl>

<p>Definition at line <a class="el" href="_flight_record_8h_source.html#l00054">54</a> of file <a class="el" href="_flight_record_8h_source.html">FlightRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="a65e1754304ae52cd703602d4ece43417"></a><!-- doxytag: member="AirlineRes::FlightRecord::LoadRecord" ref="a65e1754304ae52cd703602d4ece43417" args="(std::istream &amp;_stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">Record::RecordIOResult</a> AirlineRes::FlightRecord::LoadRecord </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>_stream</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Attempt to load <a class="el" href="class_airline_res_1_1_record.html">Record</a> data from the specified istream.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_stream</td><td>The istream from which to extract record fields.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An error code represting whether or not the operation was a success. </dd></dl>

<p>Implements <a class="el" href="class_airline_res_1_1_record.html#afc47a99151fc262aa4d4b1e27d2c1c93">AirlineRes::Record</a>.</p>

<p>Definition at line <a class="el" href="_flight_record_8cpp_source.html#l00023">23</a> of file <a class="el" href="_flight_record_8cpp_source.html">FlightRecord.cpp</a>.</p>

<p>References <a class="el" href="_flight_record_8cpp_source.html#l00051">LoadRecordData()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_flight_record_a65e1754304ae52cd703602d4ece43417_cgraph.png" border="0" usemap="#class_airline_res_1_1_flight_record_a65e1754304ae52cd703602d4ece43417_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_flight_record_a65e1754304ae52cd703602d4ece43417_cgraph" id="class_airline_res_1_1_flight_record_a65e1754304ae52cd703602d4ece43417_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_flight_record.html#a2f55fe325229b80e2d9112764bc10030" title="AirlineRes::FlightRecord::LoadRecordData" alt="" coords="293,5,560,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_time_date.html#a23e2c88c22941ba255d696f211dad4ad" title="Sets the time represented by this object equal to that of the time specified by the supplied argument..." alt="" coords="608,5,808,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2f55fe325229b80e2d9112764bc10030"></a><!-- doxytag: member="AirlineRes::FlightRecord::LoadRecordData" ref="a2f55fe325229b80e2d9112764bc10030" args="(std::string const &amp;_flightCode, int const _numSeats, std::string const &amp;_timeOfDay, std::string const &amp;_date, std::string const &amp;_destination)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">FlightRecord::RecordIOResult</a> AirlineRes::FlightRecord::LoadRecordData </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_flightCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int const&#160;</td>
          <td class="paramname"><em>_numSeats</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_timeOfDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_destination</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Attempts to load in the data that comprises a <a class="el" href="class_airline_res_1_1_flight_record.html" title="Class to store and operate upon the data that comprises a flight.">FlightRecord</a>.</p>
<p>The function will fail either when the supplied data is in an invalid format, or if the data fails any sanity check, e.g. the flight date month &gt; 12. If failure occurs then the <a class="el" href="class_airline_res_1_1_flight_record.html" title="Class to store and operate upon the data that comprises a flight.">FlightRecord</a> object will be in an undefined state.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_flightCode</td><td>String containing the flight code, e.g. "BA123". </td></tr>
    <tr><td class="paramname">_numSeats</td><td>The number of seats on the flight. </td></tr>
    <tr><td class="paramname">_timeOfDay</td><td>String containing the 24-hour time of the flight, e.g. "1750". </td></tr>
    <tr><td class="paramname">_date</td><td>String containing the flight date in ddmmyyyy format, e.g. "12012011" </td></tr>
    <tr><td class="paramname">_destination</td><td>String containing the destination of the flight </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A RecordIOResult to indicate success or failure. </dd></dl>

<p>Definition at line <a class="el" href="_flight_record_8cpp_source.html#l00051">51</a> of file <a class="el" href="_flight_record_8cpp_source.html">FlightRecord.cpp</a>.</p>

<p>References <a class="el" href="_time_date_8cpp_source.html#l00034">AirlineRes::TimeDate::SetTime()</a>.</p>

<p>Referenced by <a class="el" href="_flight_record_8cpp_source.html#l00023">LoadRecord()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_cgraph.png" border="0" usemap="#class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_cgraph" id="class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_time_date.html#a23e2c88c22941ba255d696f211dad4ad" title="Sets the time represented by this object equal to that of the time specified by the supplied argument..." alt="" coords="320,5,520,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_icgraph.png" border="0" usemap="#class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_icgraph" id="class_airline_res_1_1_flight_record_a2f55fe325229b80e2d9112764bc10030_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_flight_record.html#a65e1754304ae52cd703602d4ece43417" title="AirlineRes::FlightRecord::LoadRecord" alt="" coords="321,5,559,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a89c5b99aec8b846b77fbb0afd80b5fb3"></a><!-- doxytag: member="AirlineRes::FlightRecord::PrintRecordData" ref="a89c5b99aec8b846b77fbb0afd80b5fb3" args="(std::ostream &amp;_stream) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">Record::RecordIOResult</a> AirlineRes::FlightRecord::PrintRecordData </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>_stream</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prints this <a class="el" href="class_airline_res_1_1_flight_record.html" title="Class to store and operate upon the data that comprises a flight.">FlightRecord</a> as a line in the specified stream.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_stream</td><td>Output stream to insert into.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A RecordIOResult indicating whether or not the operation was a success. </dd></dl>

<p>Definition at line <a class="el" href="_flight_record_8cpp_source.html#l00126">126</a> of file <a class="el" href="_flight_record_8cpp_source.html">FlightRecord.cpp</a>.</p>

<p>References <a class="el" href="_time_date_8cpp_source.html#l00091">AirlineRes::TimeDate::GetTm()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_flight_record_a89c5b99aec8b846b77fbb0afd80b5fb3_cgraph.png" border="0" usemap="#class_airline_res_1_1_flight_record_a89c5b99aec8b846b77fbb0afd80b5fb3_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_flight_record_a89c5b99aec8b846b77fbb0afd80b5fb3_cgraph" id="class_airline_res_1_1_flight_record_a89c5b99aec8b846b77fbb0afd80b5fb3_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_time_date.html#a91250febbb54716789c3600ea63f7ad0" title="AirlineRes::TimeDate::GetTm" alt="" coords="321,5,511,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aefd9b7e1a81880b6285eb55fd913d70f"></a><!-- doxytag: member="AirlineRes::FlightRecord::WriteRecord" ref="aefd9b7e1a81880b6285eb55fd913d70f" args="(std::ostream &amp;_stream) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">Record::RecordIOResult</a> AirlineRes::FlightRecord::WriteRecord </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>_stream</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Attempt to write this <a class="el" href="class_airline_res_1_1_record.html">Record</a> to the specified ostream.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_stream</td><td>The ostream to write record fields to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An error code represting whether or not the operation was a success. </dd></dl>

<p>Implements <a class="el" href="class_airline_res_1_1_record.html#affd38c74f5c4ce2c69bd7d527b90b5e2">AirlineRes::Record</a>.</p>

<p>Definition at line <a class="el" href="_flight_record_8cpp_source.html#l00038">38</a> of file <a class="el" href="_flight_record_8cpp_source.html">FlightRecord.cpp</a>.</p>

<p>References <a class="el" href="_time_date_8cpp_source.html#l00140">AirlineRes::TimeDate::GetDDMMYYYY()</a>, and <a class="el" href="_time_date_8cpp_source.html#l00153">AirlineRes::TimeDate::GetHHMM()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_flight_record_aefd9b7e1a81880b6285eb55fd913d70f_cgraph.png" border="0" usemap="#class_airline_res_1_1_flight_record_aefd9b7e1a81880b6285eb55fd913d70f_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_flight_record_aefd9b7e1a81880b6285eb55fd913d70f_cgraph" id="class_airline_res_1_1_flight_record_aefd9b7e1a81880b6285eb55fd913d70f_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_time_date.html#acb420ce84951bae1a6c56033b1f85ac6" title="AirlineRes::TimeDate::GetDDMMYYYY" alt="" coords="297,81,546,108"/><area shape="rect" id="node15" href="class_airline_res_1_1_time_date.html#aa226cefd506a4ecd5b47ea4c894cc0d7" title="AirlineRes::TimeDate::GetHHMM" alt="" coords="315,157,528,184"/><area shape="rect" id="node5" href="class_airline_res_1_1_time_date.html#a59c68ccc960f250cd8b514c1a85b130e" title="AirlineRes::TimeDate::GetDay" alt="" coords="603,5,799,32"/><area shape="rect" id="node9" href="class_airline_res_1_1_time_date.html#a7e98dfe89ad2b55d6d98903d3e5db063" title="AirlineRes::TimeDate::GetMonth" alt="" coords="597,56,806,83"/><area shape="rect" id="node12" href="class_airline_res_1_1_time_date.html#a06487f603d02c0c0f2e6c5be94189fc6" title="AirlineRes::TimeDate::GetYear" alt="" coords="601,107,801,133"/><area shape="rect" id="node7" href="class_airline_res_1_1_time_date.html#a91250febbb54716789c3600ea63f7ad0" title="AirlineRes::TimeDate::GetTm" alt="" coords="857,107,1047,133"/><area shape="rect" id="node17" href="class_airline_res_1_1_time_date.html#aa4b2f9dc7ae985b80cb10e7334116e7a" title="AirlineRes::TimeDate::GetHour" alt="" coords="601,157,801,184"/><area shape="rect" id="node20" href="class_airline_res_1_1_time_date.html#a083d0724293c90509fcae697ed75b036" title="AirlineRes::TimeDate::GetMinute" alt="" coords="595,208,807,235"/></map>
</div>
</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Joe/Development/Projects/University/FormalMethods/airline-res/include/<a class="el" href="_flight_record_8h_source.html">FlightRecord.h</a></li>
<li>C:/Users/Joe/Development/Projects/University/FormalMethods/airline-res/src/<a class="el" href="_flight_record_8cpp_source.html">FlightRecord.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Dec 14 2011 22:49:42 for airline-res by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
